package com.yuancheng.modules.msweb.service.impl;

import com.yuancheng.modules.msweb.entity.DeviceInfo;
import com.yuancheng.modules.msweb.mapper.DeviceInfoMapper;
import com.yuancheng.modules.msweb.service.IDeviceInfoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 设备
 * @author： yuancheng
 * @date：   2020-01-08
 * @version： V1.0
 */
@Service
public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceInfo> implements IDeviceInfoService {

    @Override
    public List<Map<String, String>> queryDeviceList(Map<String, Object> params) {
        return this.baseMapper.queryDeviceList(params);
    }

    @Override
    public List<Map<String, String>> queryEventList(Map<String, Object> params) {
        return this.baseMapper.queryEventList(params);
    }
}
